/**
 * Created by yyr on 2018/1/10.
 */
export const api = {
    // 列表
    EST_FUNDS: {
        url: '/fundEstEntity/funds',
        method: 'get'
    },
    // 删除基金
    DELETE_FUND: {
        url: '/fundEstEntity/{id}',
        method: 'delete'
    },
    // 基金详情页
    DETAIL_FUND: {
        url: '/fundEstEntity/{id}',
        method: 'get'
    },
    // 添加基金
    ADD_FUND: {
        url: '/fundEstEntity/estFund',
        method: 'post'
    },
    PARTNER_LIST: {
        url: '/fundPartner/{fundId}',
        method: 'get'
    },
    //添加基金合伙人
    ADD_PARTNER: {
        url: '/fundPartner/partner',
        method: 'post'
    },
    //修改基金合伙人
    CHANGE_PARTNER: {
        url: '/fundPartner/partner',
        method: 'put'
    },
    //删除合伙人信息
    DELETE_PARTNER: {
        url: '/fundPartner/partner/{id}',
        method: 'delete'
    },
    //删除某条合伙人信息
    DELETE_SINGLE_PARTNER: {
        url: '/fundPartner/history/{id}',
        method: 'delete'
    },
    //获取已设立基金合伙人信息
    GET_PARTNER: {
        url: '/fundPartner/newPartner',
        method: 'get'
    },
    //获取基金支出列表
    FUND_EXPENDITURE: {
        url: '/fundExpend/{fundId}/expend',
        method: 'get'
    },
    //添加修改基金支出
    ADD_FUND_EXPENDITURE: {
        url: '/fundExpend/expend',
        method: 'post'
    },
    //删除基金支出
    DELETE_FUND_EXPENDITURE: {
        url: '/fundExpend/{id}',
        method: 'delete'
    },
    //获取基金分配列表
    GET_FUND_DISTRIBUTION: {
        url: '/fundDistribution/{id}',
        method: 'get'
    },
    //获取闲散理财列表
    GET_FUND_IDLE: {
        url: '/fundFinancing/{id}',
        method: 'get'
    },
    //添加修改闲散理财
    CHANGE_FUND_IDLE: {
        url: '/fundFinancing',
        method: 'post'
    },
    //删除闲散理财
    DEl_FUND_IDLE: {
        url: '/fundFinancing/{id}',
        method: 'delete'
    },
    //账户信息详情
    GET_ACCOUNT_LIST: {
        url: '/fundAccount/accounts/{id}',
        method: 'get'
    },
    //修改账户信息
    CHANGE_ACCOUNT: {
        url: '/fundAccount/account',
        method: 'put'
    },
    //头部详情信息
    HEAD_DETAIL: {
        url: '/fundEstEntity/{fundId}',
        method: 'get'
    },
    //头部修改
    HEAD_CHANGE: {
        url: '/fundEstEntity/fund',
        method: 'put'
    },
    //详情修改
    DETAIL_CHANGE: {
        url: '/fundEstEntity/estFund',
        method: 'put'
    },
    //基本信息详情
    BASIC_DETAIL: {
        url: '/fundEstEntity/est/{fundId}',
        method: 'get'
    },
    //添加基金分配
    ADD_DISTRIBUTION: {
        url: '/fundDistribution/distribution',
        method: 'post'
    },
    //修改基金分配
    CHANGE_DISTRIBUTION: {
        url: '/fundDistribution/distribution',
        method: 'put'
    },
    //删除分配
    DELETE_DISTRIBUTION: {
        url: '/fundDistribution/distribution/{id}',
        method: 'delete'
    },
    //删除某个分配信息
    DELETE_SINGLE_DISTRIBUTION: {
        url: '/fundDistribution/history/{id}',
        method: 'delete'
    },
    //投资数据
    GET_INVESTMENT: {
        url: '/fundEstEntity/{fundId}/invest',
        method: 'get'
    },
    //查询项目
    GET_PROJECT_DETAIL: {
        url: '/hold/item/{itemId}/info',
        method: 'get'
    },
    //拟转已
    ESTABLISH_CHANGE_INVESTING: {
        url: '/fundEstEntity/{fundId}/fund',
        method: 'get'
    },
    //项目查询接口
    GET_PROJECT: {
        url: '/hold/item/items',
        method: 'get'
    },
    //添加基金会议
    ADD_MEETING: {
        url: '/fundMeeting',
        method: 'post'
    },
    //修改
    CHANGE_MEETING: {
        url: '/fundMeeting',
        method: 'put'
    },
    //会议列表
    MEETING_LIST: {
        url: '/fundMeeting',
        method: 'get'
    },
    //删除会议
    DELETE_MEETING: {
        url: '/fundMeeting/{meetingId}',
        method: 'delete'
    },
    // 删除文件
    DELETE_FILE: {
        url: '/file',
        method: 'delete'
    },
    // 列表下载
    DOWNLOAD_FILE: {
        url: '/file/exportExcel',
        method: 'get'
    },
    //客户详情
    GET_GUEST: {
        url: '/guest/{guestId}',
        method: 'get'
    },
    //获取管理层
    GET_MANAGEMENT: {
        url: '/fundEstEntity/{fundId}/stratum',
        method: 'get'
    },
    //管理费核定
    GET_COST: {
        url: '/cost/{fundId}',
        method: 'get'
    },
    //添加修改管理费核定
    CHANGE_COST: {
        url: '/cost/',
        method: 'post'
    },
    //删除管理费核定
    DELETE_COST: {
        url: '/cost/{id}',
        method: 'delete'
    },
    //投资数据-拟投资
     QUASI_ITEM: {
        url: '/fundEstEntity/{fundId}/quasiItem',
         method: 'get'
     },
    //投资数据-已投资
    INVESTED_ITEM: {
        url: '/fundEstEntity/{fundId}/investedItem',
        method: 'get'
    },
    //投资数据-已退出
    EXIT_ITEM: {
        url: '/fundEstEntity/{fundId}/exitItem',
        method: 'get'
    },
    //基本信息--管理机构--查看
    MANAGE_ORG: {
        url: '/fundAnsat/{fundId}/mechanism',
        method: 'get'
    },
    //基本信息--管理机构--修改
    MANAGE_ORG_CHANGE: {
        url: '/fundAnsat/mechanism',
        method: 'put'
    },
    //基本信息=管理层-添加修改
    MANAGE_PERSON: {
        url: '/fundEstEntity/stratum',
        method: 'post'
    },
    //基本信息-管理层--删除
    DELETE_MANEGE_PERSON: {
        url: '/fundEstEntity/{id}/stratum',
        method: 'delete'
    },
    //合伙人认缴--合伙人来源
    GET_PARTNER_SOURCE: {
        url: '/fundPartner/{fundState}/investor',
        method: 'get'
    },
    //基金分配总计
    TOTAL_DISTRIBUTION: {
        url: '/fundDistribution/{fundId}/total',
        method: 'get'
    },
    //管理记录列表
    LIST_FUND_CLAUS: {
        url: '/fundClaus/{fundId}',
        method: 'get'
    },
    //添加管理记录
    ADD_FUND_CLAUS: {
        url: '/fundClaus',
        method: 'post'
    },
    //修改管理记录
    PUT_FUND_CLAUS: {
        url: '/fundClaus',
        method: 'put'
    },
    //删除管理记录
    DEL_FUND_CLAUS: {
        url: '/fundClaus/{id}',
        method: 'delete'
    },
    // 基金注册>备注信息 详情
    GET_FUND_CLAUS: {
        url: '/fundClaus/{id}/claus',
        method: 'get'
    },
    // 审批流-查询审批列表
    GET_ITEM_APPROVAL_ENTITY: {
        url: '/itemApprovalEntity',
        method: 'get'
    },
    // 审批流-发起审批
    POST_ITEM_APPROVAL_ENTITY: {
        url: '/itemApprovalEntity',
        method: 'post'
    },
    // 审批流-审批
    PUT_ITEM_APPROVAL_ENTITY: {
        url: '/itemApprovalEntity',
        method: 'put'
    },
    // 审批流-查询审批历史时间
    GET_ITEM_APPROVAL_ENTITY_TIME: {
        url: '/itemApprovalEntity/{itemId}/{type}',
        method: 'get'
    },
    // 审批流-查询是否有权限发起审批
    GET_HAS_POWER_CREATE_APPROVAL: {
        url: '/sys/hasPowerCreateApproval',
        method: 'get'
    },
}
